Looks like you have taken a wrong turn.....Dont worry... it happens to the best of us.
global $content_width; if ( ! isset( $content_width ) ) $content_width = 640; /* pixels */ if (!function_exists('library_books_setup')): /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which runs * before the init hook. The init hook is too late for some features, such as indicating * support post thumbnails. */ function library_books_setup() { load_theme_textdomain('library-books', get_template_directory() . '/languages'); add_theme_support('automatic-feed-links'); add_theme_support('woocommerce'); add_theme_support('post-thumbnails'); add_theme_support('custom-header'); add_theme_support('title-tag'); add_theme_support('custom-logo', array( 'height' => 52, 'width' => 268, 'flex-height' => true, )); register_nav_menus(array( 'primary' => esc_html__('Primary Menu', 'library-books') , )); add_theme_support('custom-background', array( 'default-color' => 'ffffff' )); add_editor_style( 'editor-style.css' ); add_post_type_support( 'page', 'excerpt' ); } endif; // library_books_setup add_action('after_setup_theme', 'library_books_setup'); /** * Register widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ function library_books_widgets_init() { register_sidebar(array( 'name' => esc_html__('Sidebar', 'library-books') , 'description' => esc_html__('Appears on page/post sidebar', 'library-books') , 'id' => 'sidebar-1', 'before_widget' => '
', )); register_sidebar(array( 'name' => esc_html__('Footer Column 1', 'library-books') , 'description' => esc_html__('Appears on footer', 'library-books') , 'id' => 'fc-1', 'before_widget' => '', 'before_title' => 'Looks like you have taken a wrong turn.....Dont worry... it happens to the best of us.